package com.design.behavior.visitor.atguigu;

/**
 * @ProjectName: design
 * @Package: com.design.behavior.visitor.atguigu
 * @ClassName: Man
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/11/15 0015 10:49
 */
// 步骤2
public class Man extends Person {
    @Override
    public void accept(Action action) {
        action.getManResult(this);
    }
}
